import prisma from '../lib/prisma';

export class UserService {
  static async assignRole(userId: string, role: string): Promise<void> {
    await prisma.user.update({
      where: { id: userId },
      data: { role },
    });
  }
}
